package com.weishi.project.training.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weishi.project.speedometer.vo.PropellerFrequencyData;
import com.weishi.project.training.domain.AccelerationLog;
import com.weishi.project.training.domain.WitAccLog;

import java.util.List;

public interface IWitAccLogService extends IService<WitAccLog> {

    /**
     * 查询实时平均桨频
     * @param witAccLogs
     * @return
     */
    int qryCurrentPropellerFrequency(List<WitAccLog> witAccLogs);

    /**
     * 获取桨频统计值
     * @param shipSpeedId
     * @param channelId
     * @param fristTime
     * @return
     */
    List<PropellerFrequencyData> qryPropellerFrequencyDate(String shipSpeedId, Integer channelId, long fristTime);

    List<WitAccLog> qryWitAccLogList(Integer channelId);
}
